func html/template.errorf
14 uses
html/template (current package)
error.go#L231: func errorf(k ErrorCode, node parse.Node, line int, f string, args ...any) *Error {
escape.go#L189: err: errorf(ErrPredefinedEscaper, n, n.Line, "predefined escaper %q disallowed in template", ident),
escape.go#L215: err: errorf(ErrAmbigContext, n, n.Line, "%s appears in an ambiguous context within a URL", n),
escape.go#L487: err: errorf(ErrBranchEnd, node, 0, "{{%s}} branches end in different contexts: %v, %v", nodeName, a, b),
escape.go#L632: err: errorf(ErrNoSuchTemplate, node, line, "%q is an incomplete or empty template", name),
escape.go#L637: err: errorf(ErrNoSuchTemplate, node, line, "no such template %q", name),
escape.go#L669: err: errorf(ErrOutputContext, t.Tree.Root, 0, "cannot compute output context for template %s", t.Name()),
escape.go#L815: err: errorf(ErrBadHTML, nil, 0, "%q in unquoted attr: %q", s[j:j+1], s[:i]),
transition.go#L106: err: errorf(ErrBadHTML, nil, 0, "expected space, attr name, or end of tag, but got %q", s[i:]),
transition.go#L290: err: errorf(ErrSlashAmbig, nil, 0, "'/' could start a division or regexp: %.32q", s[i:]),
transition.go#L322: err: errorf(ErrPartialEscape, nil, 0, "unfinished escape sequence in JS string: %q", s),
transition.go#L344: err: errorf(ErrPartialCharset, nil, 0, "unfinished JS regexp charset: %q", s),
transition.go#L504: err: errorf(ErrPartialEscape, nil, 0, "unfinished escape sequence in CSS string: %q", s),
transition.go#L534: return -1, errorf(ErrBadHTML, nil, 0, "%q in attribute name: %.32q", s[j:j+1], s)